#include "filemover.h"

int main(int argc, char **argv)
{
    if (argc != 3)
    {
        std::cout << "Usage: " << argv[0] << " <sourceDir> <targetDir>" << std::endl;
        return -1;
    }
    // Start to move files
    FileMover fileMover(argv[1], argv[2]);
    try
    {
        fileMover.move();
    }
    catch (const std::exception &e)
    {
        std::cout << "[ERROR] " << e.what() << std::endl;
    }
    return 0;
}